package cn.itsource.pethome.mapper;

import cn.itsource.pethome.domain.Shop;
import cn.itsource.pethome.domain.User;
import cn.itsource.pethome.query.ShopQuery;
import cn.itsource.pethome.query.UserQuery;
import cn.itsource.pethome.result.JSONResult;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @description:
 * @auth: wujiangbo
 * @date: 2022-02-19 11:30
 */
public interface ShopMapper extends Mapper<Shop> {

    //店铺入住/注册
    Shop selectByName(String name);
    List<Shop> queryData(ShopQuery query);
    List<Shop> list();
}